
window.onload = function(){
    var box = document.getElementsByClassName("box")[0];

    box.onclick = function(){
        alert(111111);
    }
}